import datetime  from google.appengine.ext 
import db  from google.appengine.api 
import users    
class Employee(db.Model):    
    name = db.StringProperty(required=True)    
    role = db.StringProperty(required=True, choices=set(["executive", "manager", "producer"]))    
    hire_date = db.DateProperty()    
    new_hire_training_completed = db.BooleanProperty()    
    account = db.UserProperty()    
    e = Employee(name="",               role="manager",               account=users.get_current_user())  
    e.hire_date = datetime.datetime.now()  
    e.put()